<template>
  <div class="container">
    <el-container>
      <el-header>
        <router-view name="top"></router-view>
      </el-header>
      <el-container class="main">
        <el-main>
          <section class="content-container">
            <div class="grid-content bg-purple-light">
              <transition name="fade" mode="out-in">
                <router-view></router-view>
              </transition>
            </div>
          </section>
        </el-main>
        <el-aside><router-view name="aside"></router-view></el-aside>
      </el-container>
      <el-footer>Footer</el-footer>
    </el-container>
  </div>
</template>

<script>
// import LayoutHeader from "@/views/Main/Header";
// import LayoutBody from "@/views/Main/Body";
// import topNav from '@/components/nav/topNav.vue';
export default {
  name: "app-main1",
  components: {
    // LayoutHeader: LayoutHeader,
    //LayoutBody: LayoutBody,
    // topNav: topNav,
  },
};
</script>

<style scoped>
</style>